#include "Role.h"

std::string Role::getClassName() {
    return "Role hot update";
}

std::string Role::testVirtualFunc() {
    return "Role::testVirtualFunc hot update";
}


void Role::setValue(int iNum) {
    m_iNum = iNum * 2000;
}

void Role::testStaticFunc(Role& stRole) {
    stRole.m_iNum = 1000;
    printf("func:%s file: %s line:%d num %d\n", __func__, __FILE__,__LINE__, stRole.m_iNum);
}

void modifyRolePrivateVariable(Role& stRole) {
    stRole.m_iNum = 888;
    printf("func:%s file: %s line:%d num %d\n", __func__, __FILE__,__LINE__, stRole.m_iNum);
}
